package io.jee.runshan.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 关键字回复
 * 
 * @author SunX
 *
 */
@Entity
@Table(name = "runshan_keyword_ask")
public class KeywordAsk {

	private Integer id;
	private String content;// 内容
	private Integer isRead;// 0：未读 1：已读
	private Integer replyState;// 回复状态 0：未回复 1：已回复
	private String wxAccount;// 微信号
	private String wxNikeName;// 微信昵称
	private Date publishTime; // 发布时间

	@Id
	@GeneratedValue
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(length = 65535, columnDefinition = "TEXT")
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getIsRead() {
		return isRead;
	}

	public void setIsRead(Integer isRead) {
		this.isRead = isRead;
	}

	public Integer getReplyState() {
		return replyState;
	}

	public void setReplyState(Integer replyState) {
		this.replyState = replyState;
	}

	public String getWxAccount() {
		return wxAccount;
	}

	public void setWxAccount(String wxAccount) {
		this.wxAccount = wxAccount;
	}

	public String getWxNikeName() {
		return wxNikeName;
	}

	public void setWxNikeName(String wxNikeName) {
		this.wxNikeName = wxNikeName;
	}

	public Date getPublishTime() {
		return publishTime;
	}

	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}
}
